<template>
  <div id="app">
		<router-view/>
		<van-loading v-show="keepLoading" type="spinner" color="#1989fa" size="35px" vertical>加载中...</van-loading>
  </div>
</template>

<script>
import { mapState } from 'vuex'
export default {
  name: 'App',
  components: {
  },
	computed: {
		...mapState(['keepLoading']),
	}
}
</script>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* text-align: center; */
  /* color: #2c3e50; */
  /* margin-top: 60px; */
	width: 100%;
	height: 100%;
}
</style>
